<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<c:set var="path" value="..${ctx}/base/power/authority"/>

<div class="pageContent" >
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="${path}/add.html" width="800" height="560" target="dialog" rel="dlg_page10" mask="true" title="添加权限信息"><span>添加</span></a><br /><br /></li>
			<li class="line">line</li>
			<li><a class="edit" href="${path}/edit.html?authorityID={authorityID}" target="dialog" rel="dlg_page11" mask="true" title="修改权限信息"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="${path}/saveAll.html" target="ajaxTodo" title="修改权限信息"><span>保存</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="${path}/delete.html?authorityID={authorityID}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="75">
		<thead>
			<tr>
				<th width="80">权限编号</th>
				<th width="120">权限名称</th>
				<th width="120">URL地址</th>
				<th width="240">描述</th>
			</tr>
		</thead>
			<tbody>
			<c:if test="${! empty authorities }">
			<c:forEach var="vo" items="${authorities}">
			<c:set var="data" value="${vo.value}" />
			<tr target="authorityID" rel="${data.authorityID}">
				<td>${data.authorityID}</td>
				<td>${vo.pageName}</td>
				<td>${vo.url}</td>
				<td>${vo.description}</td>
			</tr>
			</c:forEach>
			</c:if>
		</tbody>
	</table>

</div>
